<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>exa3_7</title>
</head>
<body>
<%! String poet="";%>
<%
    poet=request.getParameter("poet");
    String name=(String)session.getAttribute("name");
%>
<span style="color: red"><%=name%></span>最喜爱的诗人是
<span style="color: blue"><%=poet%></span>
</body>
</html>
